FROM alpine:3.15.0
MAINTAINER 834951526@qq.com

ENV TZ=Asia/Shanghai
RUN mkdir -p /mproc/
ADD localtime /etc/localtime
COPY conf /mproc/conf
COPY views/static /mproc/views/static
COPY views/index.html /mproc/views/index.html

COPY learn-otp /mproc/learn-otp

WORKDIR /mproc

ENTRYPOINT ["./learn-otp"]